package com.system.entity.vo;

import com.system.entity.manage.SysPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel("用户信息返回对象")
public class UserInfoVO {

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("用户头像")
    private String icon;

    @ApiModelProperty("角色")
    private List<String> roles;

    @ApiModelProperty("用户权限")
    private List<SysPage> menus;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public List<SysPage> getMenus() {
        return menus;
    }

    public void setMenus(List<SysPage> menus) {
        this.menus = menus;
    }
}
